package com.company;

public class Test {
    public static void main(String[] args){
   new demo2();
   new demo2("开始");
    }
}
class demo2{
    public  demo2(){
        this("kaishi");
        System.out.println("无参构造");
    }
    public demo2(String s){

       System.out.println("含参构造");

    }
}